package Lesson;

import java.util.Scanner;

public class DemoTMD {
    public static void main(String[] args) {
        Scanner tmd = new Scanner(System.in);

        System.out.println("请输入：");
        String str = tmd.nextLine();

        str = str.replace("TMD","***");

        System.out.println(str);
    }
}
